<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch" action="{:U($Think.ACTION_NAME)}" method="post">
        <input type="hidden" name="pageSize" value="{$Think.session.pageSize}">
        <input type="hidden" name="pageCurrent" value="{$Think.session.pageCurrent}">
        <input type="hidden" name="orderField" value="{$Think.session.orderField}">
        <input type="hidden" name="orderDirection" value="{$Think.session.orderDirection}">
        <div class="bjui-searchBar">
            <label>注册时间：</label><input type="text" name="search[regdate]" readonly="readonly" value="{$search.regdate}" class="form-control" size="12" data-toggle="datepicker" />
            <label>昵称：</label><input type="text" name="search[nickname]" value="{$search.nickname}" class="form-control" />
            <label>手机号：</label><input type="text" name="search[phone]" value="{$search.phone}" class="form-control" size="15" />
            <button type="submit" class="btn-default" data-icon="search">查询</button>
            <div class="pull-right">
                <div class="btn-group">
                    <button type="button" class="btn-default dropdown-toggle" data-toggle="dropdown" data-icon="copy">功能操作<span class="caret"></span></button>
                    <ul class="dropdown-menu right" role="menu">
                        <li><a href="{:U('sendmsg')}" data-toggle="dialog" data-width="1000" data-height="600" data-id="dialog-mask" data-mask="true"><i class="fa fa-plus"></i> 发送消息</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </form>
</div>

<div class="bjui-pageContent">
    <!-- 内容区 -->
    <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
        <thead>
        <tr>
            <th>ID</th>
            <th>昵称</th>
            <th>手机</th>
            <th>性别</th>
            <th>注册时间</th>
            <th>分享数</th>
            <th>关注数</th>
            <th>订阅数</th>
            <th>问答数</th>
            <th>观点数量</th>
            <th>账户余额</th>
            <th title="点击变更状态">账户状态</th>
            <th title="点击审核">牛人状态</th>
            <th width="26"><input type="checkbox" class="checkboxCtrl" data-group="ids" data-toggle="icheck"></th>
            <th>操作</th>
        </tr>
        </thead>
        <volist name="list" id="vo">
            <tr>
                <td>{$vo.muid}</td>
                <td>{$vo.nickname}</td>
                <td>{$vo.phone}</td>
                <td><if condition="$vo[sex]">女<else />男</if></td>
                <td>{$vo.rtime|date="Y-m-d H:i:s",###}</td>
                <td>{$vo.sharings}</td>
                <td>{$vo.follow}</td>
                <td>{$vo.subscribe}</td>
                <td>{$vo.interlocution}</td>
                <td>{$vo.standpoint}</td>
                <td>{$vo.bankroll}</td>
                <td><a href="{:U('setlock?uid='.$vo[muid])}" class="btn btn-default" data-toggle="doajax" data-confirm-msg="确定要<if condition="$vo[locks]">解锁<else />锁定</if>该用户吗？"><if condition="$vo[locks]">解锁<else />锁定</if></a></td>
                <td><a href="{:U('verify?uid=' . $vo[muid])}" title="点击查看信息并审核" class="btn btn-default" data-toggle="dialog" data-width="1000" data-height="600" data-id="dialog-mask" data-mask="true" data-title="牛人申请信息"><if condition="$vo[state]==2">未通过<elseif condition="$vo[state]==1" />通过<else/>待审核</if></a></td>
                <td><input type="checkbox" name="ids" data-toggle="icheck" value="<?= $vo[muid]?>"></td>
                <td>
                    <a href="{:U('currpos?uid=' . $vo[muid])}" class="btn btn-default" data-toggle="navtab" data-id="curr" data-reload-warn="本页已有打开的内容，确定将刷新本页内容，是否继续？" data-title="{$vo.nickname}-当前持仓列表" title="点击查看-{$vo.nickname}-当前持仓列表">当前持仓</a>
                    <a href="{:U('sendmsg?uid=' . $vo[muid])}" class="btn btn-default" data-toggle="dialog" data-width="1000" data-height="600" data-id="dialog-mask" data-mask="true">发送消息</a>
                    <a href="{:U('setpwd?uid='.$vo[muid])}" class="btn btn-default" data-toggle="doajax" data-confirm-msg="确定要重置该用户密码吗？">密码</a>
                </td>
            </tr>
        </volist>
    </table>
</div>
<include file="./App/Common/View/Common/pageFooter.html" />